import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'

// 添加全局样式
import './assets/css/global.css'

// 导入axios
import axios from '@/api/http.js'

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'
Vue.use(VueAwesomeSwiper);

// 导入全局常量
import constants from './api/constants'
Vue.prototype.Constants = constants


import * as socketApi from './api/websocketStore.js'
Vue.prototype.socketApi = socketApi

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
